Added abstract class.
Removed typedef in header and inherited Legendres
Aaaand the Chebyshev MoM now inherits.