Added a generic version of the LagrangeBasis that allows to specify the range type of the local basis.
TODO