Built function to replace leftmost and outermost cos(x) with small angle approximation.