Removed preprocessing step and made adjustments to rest of algorithm
Changed fmpz_mat_scalar_mod_fmpz to use modulo reduction rather than division with remainder.