Fixed previous typos and adding initial trans-decimal routine (currently returning only integer)