Added some numeric algorithms.