Fixed zscaling to use clipping instead of normalization.