Towards numerical solutions of the Schrödinger equation for diatomic molecules.