Conditions for Singularity of Twist Grain Boundaries between Arbitrary 2-D Lattices