Multiplierless and Sparse Machine Learning based on Margin Propagation Networks