added Frobenius norm to mat2d, started decompositions