Removed unnecessary computations. Added intersectLines that takes floats.
Merge branch 'origin/master'
Centroid methods.

Don't really belong here, but meh.