BIOMECHANICAL FITTING OF BED MATTRESSES