Worked on scalar and matrix mult