Added functionality for function class where multidimensional arrays can be given as argument.
Implemented Function subclass for integrand for QM problem.
Made a functionality for dynamical nested loops, to use for integral loop over given dimensionality.