Fixed the calculation of osar for index, improved some plots