initial implementation of the wavefunction optimization via the stochastic reconfiguration method