Matrix elements for position operator