Added some new atoms, fixed bugs in others
  new: diag, diagm, mean, /, ./, sum, variance
  updated: index, repmat