Fixed stupid l=0 bug
Generalised fermion_state to several quantum numbers.