Sketching-based Distributed Matrix Computations for Machine Learning