Bifurcations in Smooth and Piecewise Smooth Noninvertible Maps