Small changes to mean calculator