Added domain coordinate and frame of referance
subroutines to modeldomain