expanded possibilities and documented char
documented mygrid
changes in splanar
added an output and replaced call to unique