Added support for phase2 in the Maass waveform class and changed the interface slightly