deltaSub function

Sub-routine to create Delta matrix