Leg position learning in the cockroach nerve cord using an analog technique