fixed subtraction() bug, changed arraysToArray() name to t(), other minor changes