BinaryConnect: Training Deep Neural Networks with binary weights during propagations