hide transposeMultiply; add rng to rand and randn; add unit tests