Refactored the correspondence problem out of the code that builds pointclouds.