Simultaneous Optimization of Neural Network Weights and Active Nodes using Metaheuristics