Stringify grid

This ports and updates the method for converting grid inputs on a single plane into a grid notation string.