A GPU / CPU implementation of a feed forward neural network