adding some more functionality for scaling kernels.. Very rough still