fixed error in monthly energy caluclation
fixed count calculation on bl flash memory overflow