Added matrix multiplication and a math function for determining if a number is equal for a given level of precision.