deleteStudy function

Delete a study or a simulation