Copied code from linearElasticity_queen.m, comprimized som code, spalloc(A) to prevent full memory