update

added getHeight(), getWidth() and getDimensions()