Reverted to \ instead of inv(K). Numerical errors *appear* to have disappeared