Teaching motor schemes using adaptive accommodation algorithms for complex assembly