Modified code to support magnitude cut off. Created >3.5 magnitude dataset