This is the fully functioning 1D Legendre.
doing some housekeeping. removed cppfiles