Updated version. Matrices are implemented as a lib, but don't have full access to all public methods in rcalc yet.