A small utility function to add position to a matrix

addPos(x)

Arguments

x

A matrix