Added scale to width and scale to height methods
Updated examples.