Added a method to test if a vector2 array represents a convex polygon

Signed-off-by: Martin Evans <martindevans@gmail.com>