Losoya receives 50-year sentence in home invasion case