cleaning up

mad contrast values easier to manipulate