covPCA now returns the distances instead of squared distances
updated version in Morpho
fixed foreach run in place.patch for Windows by explicitly exporting private functions