Engineers design magnetic cell sensors