Errors Solved (mean and median)