Waterloo man sentenced for 'Wild West' shootout with police