In a thrilling match at Selhurst Park, Crystal Palace came from behind to defeat Newcastle United, with Jean-Philippe Mateta scoring a late double.