Fixed bug in yale_nd_row functions which only showed up under stress
testing.