added objectTableSort()

objectTableSort() sorts a table of objects by a given field from lowest
to highest
Moved functions in from IFP

moved isInTable() and findMid() functions into JLib from IFP
Added findAreaTriangle()

findAreaTriangle() function finds the area of a triangle given 3 points
(vertices)
findIntersect() working

findIntersect() function now works
added endsCount parameter to findIntersect()

endsCount defaults to true but can be set to false so ends of line
segment don't count as an intersection
fixed percent error bug

fixed bug with absolute value in percent error function.