Made these crazy equations a tiny bit more readable.

I was looking for something like this for an arduino project, I made a couple minor changes while checking out the code.