Man sentenced to an extra 558 days in jail for cursing at judge