Multi-dimensional extension of the alternating minimization algorithm in x-ray computed tomography