Fixed error in checking function and SBA method and small misbehavior in AHBP. So now i have all the necessary methods for plotting