A Novel Algorithm for the Design of Ketogenic Meals