[eluser]jedd[/eluser]
Your server will likely be unhappy no matter what you do. Servers are like that.
If it does nothing other than math stuff - that is, it doesn't do any database access, or more importantly it doesn't require access to the CI superobject, then I'd suggest you stick it in a helper and autoload it.
If it does some database stuff, it might make more sense to turn it into a model (and perhaps autoload it).
If it's a fairly modest lump of code (parsing should be cheap) then you might want to stick it in MY_Controller.