remove imports for obsolete demag_field_cr
change kwargs to python optional args