Fix for issue189 regarding integrals to -Inf
Spelling fixes in makeFun()