Add compression to h5 output and minor typo fixes