Open

Description
I believe spec_vals.flatten()[j]
should be instead of spec_vals.flatten()[i]
on this line. Let me know if it is correct or not. If so, same line should be corrected on uk3d class.
https://github.com/bsmurphy/PyKrige/blob/db07202a4ff1cbe9a2211db5976a1511ab34fc21/pykrige/uk.py#L841