Added spatstat stuff