template parameter of polynomials
there is the class LagrangePolynomial with T denoting a data type. So far, the routines of LagrangePolynomial are defined in a seperate cc file, making necessary to instantiate this class for all available data types. -> move implementation to header file to avoid explicit instatiation