An algorithm for determining the normal bundle of a rational monomial curve