Determining Vertical and Horizontal Asymptotes of Rational Functions