Studying the reduction of graphene oxide with magnetic measurements