cstdlib and cmath for the win.

i added two important libraries. Now i will follow the instructions... i
hate instructions.