Added compatibility with newer version of Magma.
Added compatibility with newer version of Magma.
Added compatibility with newer version of Magma.
Added parameter to fwrite.
Removed legacy code for memory management.
Added parallelization to function that finds candidate parameters.