Methods for establishing and utilizing sensorimotor programs