Scientists have discovered galaxies change shape as they age