penultimate function

Smith's penultimate approximations