Starts work on TRAN

Still at the phase where the data isn't being parsed correctly, but some of the other required calculations are also in place.