Updated magnetic structure factors
add fortran interface test code