added RANSAC plane detection