Fixed bug in hdf5_grids.py

An indentation error had caused a logical error : a dataset was created
when it should have been read from an existing file instead.
Format hdf5_grids.py to flake8
Formatted integrate4D.py to flake8

Contributes to #75  and #76