Merge of cleanup from Messing branch
Added iamin and iamax implementations

(only for real numbers)
Added rotm implementation
Merge branch 'master' into messing