Nerd' who made 'viable' 3D-printed gun