An algorithm for the normal bundle of rational monomial curves