Lawyers argued defendant suffered from rare sleep disorder involving individuals engaging in sex while unconscious