revised comments
added ransac test code