Added AGM-Ice conversion code