added alpha parameter, different parameter for line and plane ransac
threshold, puting in a function the code for creating all possible rectangles from lines
and vertices.