all math/matrix functions in their own package