spaces to tabs... go with the flow

also factored specific math module imports