D-TEC: Stencil computation using embedded DSLs in the X10 programming language