RBF network structure and reading of patterns from file