FIX: Passed intmat[1-6] as arguments of cell arrays. Saves time on loop.