Basic scaling.

Signed-off-by: Chase Pettit <chasepettit@gmail.com>