added pads for ratio histogram and added scaling (+funct) into sample class