Strip newlines out of calculations
cleanup