Matrix and statistics

Added `stats.mstats` table with `amean`, `gmean`, `hmean` functions. Added matrix operations in `matrix.op` table.