Can I use a calculation on a matrix?