Im cool..
I actually did talk to someone regarding the math, a couple of people actually, turns out that the math that I was using at the time, they were using to calibrate measuring instruments (temp sensors), namely ln and exp. So yes, I was so shocked that I was not actually loosing my mind...