NEW: matlab and python functions to calculate damage analytically for an ice shelf (still needs some debugging and cleanup)