added mcp functionality, random pts within mcp, and spatial filtering but missing key file