Vec2: Added Vec2(double[]) and toArray()
LineDDA: Fixed bug in traversing one-cell long lines