made polinj and incinj as long as ninst

also changed way hdf5 s are saved to create groups separately