Update Rains_isom_normal.py

Added docstrings, little modifications and took the case GF(q) in account.