Added BISE (Best Index Slope Extraction) function.