More testing on STD140 sizes and offsets

Add support for mat4 and STD140Array, also caught some bugs where I
forgot to change the recursion from ALIGNED to STD140 layout. Whoops!