Minor changes to fradix.c

Cleared up unnecessary variables, added comments, cleaned up code etc… (minor).