Sn still has not been tested since the finishing of the matrix gen (i.e. rhs not tested) but the phi generator has been added