chemical way of doing magnetic seperation