Added calculateE.c (doesn't work (yet))