Change code to do the ptam vs motion tests