Added multiply and divide for matrices