classifying documents in 4D MDS space -- 96 correct of 97!
modularising my python a bit