added ransac plane fitting