Noncommutative differential operators, Sobolev spaces and the centre of a category