Added double-gradient and grid-snapping examples