Approximation of Continuous and Discontinuos Mappings by a Growing Neural RBF based Algorithm