Torture tests added, math functions in progress