Automatic Optimization of Matrix Implementations for Distributed Machine Learning and Linear Algebra | Synapse