Man sentenced for possessing machine guns