add error checking to ransac model coefficients array length