Fixed outport bug and added tomography