Start of adding default smart grid.

Currently runtime panics with an index out of range error.
Fixed some errors and set the origin to top left.