Inlier ratio and point number checks added