Man who threatened Alton woman with gun sentenced to 42 months