The US Army is testing a smart-rifle technology that promises to only fire if a target is properly lined-up and can compensate for weather conditions