Matrix alignment added for offsetting