Got simple Neural Network Running successfully . Training for handwritten digits from NIST. showing the cost for each training sample.