3 matrices on 1 form with different sizes