Get position matrix