A specific MATLAB algorithm was written to yield this data. All measurement files consisting of spinal or trunk sweep co-ordinates were imported into MATLAB where the algorithm determined tangents in the sagittal or transverse plane to derive angles and quantify shape at specific anatomical locations.