fixed scaling bug; added usage example