Blue Added Constructor that can set dimensions.