Calculates effective interactions of two electrons in a two.dimensional harmonic oscillator potential. Rewritten from code by Simen Kvaal.