getter functions for width and height (closes #5)