added first version of harmonic potential - to be tested