Wrote preprocessing_for_encoding function.

This function calls the full_rank_to_TABECD_form function numerous times, looking for the best candidate parity check matrix (H) to use for encoding.

Also made some necessary tweaks to full_rank_to_TABECD_form() after developing this function.