Fixed #301 Updated to new CoFHCore

CoFH api changed. This is the fix