working IOB and COB based BG predictions