Closes #9 Implemented reading in the width and height if they are not being calculated by layout functions