Linear Exact Repair Schemes For Distributed Storage And Secure Distributed Matrix Multiplication