added safety check to catch degenerate points
added safety check to catch degenerate points

nakijun/vtp,seanisom/vtp,nakijun/vtp,markraz/vtp,markraz/vtp,nakijun/vtp,seanisom/vtp,nakijun/vtp,markraz/vtp,nakijun/vtp,seanisom/vtp,markraz/vtp,markraz/vtp,seanisom/vtp,seanisom/vtp