Added mean function.