Learning generalisation and localisation: Competition for stimulus type and receptive field