implemented support for arbitrary measurement grids
updated examples with new interface for continuous output