On the Schrödinger equation in ellipsoidal coordinates