Aligned allocation of Matrix memory blocks