Rival penalized competitive learning for clustering analysis, RBF net, and curve detection | Synapse