Learning from Incomplete Data by Simultaneous Training of Neural Networks and Sparse Coding