big changes to calculate DIC now version 0.1.1. Note no longer runs as compiled package...