Analysis of inverse simulation algorithms with an application to planetary rover guidance and control