started simplifying and checking the tomography routines