distributed computing multiplying matrix by vector