Functions colon_dm implemented, colon_d and degree_d added