interface type and coh2d elem compiled

- as the title suggests; it compiles now, but not sure if it runs
correctly

next: interface mat lib