Moved sampling code into matlab folder, fixed ferrari canny metric, added a Center of mass term to the optimization, and built new files for easy experiments