Function name: rownth
Description:

Row-wise nth of a matrix.

Authors: Manos Papadakis