Calculations on the electronic spectrum of water