Made trtv into a function.
Minor edits to Align class.