Squared error distortion

Sign in to test your solution.