Modeling the efficiency of a magnetic needle for collecting magnetic cells.