Removed square root and difference problems and added mean and std dev