Added simple mean squared error to all libraries