Looks to me like you are doing it right. I would simple compute the total magnetic moment on a per unit cell basis. Here is how I would do it for e.g. bulk FeS (attached).
Individual magnetic moments
0 2.60320658024
1 2.60320658608
2 -0.00892114965773
3 -0.00892114965761
Total magnetic moment / unit cell
5.188570867