Added an 'elementary' function.

The new function creates an identity array that's had a single row operation performed on it. Quite useful when doing matrix multiplication. https://en.wikipedia.org/wiki/Elementary_matrix
Also given the goal of #4434 maybe don't use lists here.