Focus on rescaling images.

Adds tests for core rescaling functions.

Adds a command-line program that can rescale images.

Using tabs for whitespace.