fix simplify([]) returns [undefined]
Merge pull request #9 from yhara/fix_for_0_1_points

fix for when points.length <= 1