put back the adjustZLevel method
renamed a method
Added pre and post scaling