Fixed some style errors in random_field.py