The mattress surface is assumed to be initially flat.
The mattress surface and the fiber optic sensor curve on it
deform after the patient lies down on the bed.
The deformed mattress surface can be assumed to be a general surface
that can be represented by a NURBS surface
or be determined from FEA for a given body pressure.