My usual rect stuff. resolves #6
Added -lm to linker options to pull in libm (for math)
Some general sprite and physics hackery, still a bit messy at this stage.