how does a black sand magnet work