Homology computation for a class of contact structures on T^3