Added code for analysing stability in BAES results