Vectorized Implementation of Deep Neural Networks and Application to Classification of Signals