fixed some bugs in gigawatts of cake

Signed-off-by: Martin Evans <martindevans@gmail.com>