A Telescopic Binary Learning Machine for Training Neural Networks