Fixed infinity mutations, added covariance matrix test, calculating F only once