Solved problem 026, and started a ProjectEuler.Math module for generic math type functions.