The determination of magnetisabilities using density functional theory