Added a new way of adding an output to a transaction