RIT: Nonlinear Approximations with Neural Networks