Matrix and statistics

Added `stats.mstats` with `amean`, `gmean`, `hmean` functions, and matrix operations at `matrix.op`.