Solves Schrodinger equation for two-electron atom in Hylleraas-type basis