added denormalization
added ransac function
almost ransac