Made  get dimensions work and so that board size can be changed.