Removed references to pair template

Forgot to get rid of the `<float, float>` stuff from when I was gonna
use std::pairs instead of vec2d
Fixed aabb check

Now it actually works correctly, AND has some quality comments to boot