Discriminating and simulating actions with the associative self-organising map.