Adding structured coords as mesh attribute

Closes #549.