Adds post on matrix from function in numpy