Michael Cohen appears in court