Determination of chemical-shift-anisotropy Lineshapes in a two-dimensional magic-angle-spinning NMR experiment