Ab Initio Structure Inversion For Amorphous Materials