The trial justice informed the jury that it should consider the totality of the circumstances to determine whether defendant suffered from a mental disability, whether such a disability impaired his capacity to appreciate the wrongfulness of his conduct, and whether there was a sufficient relationship between that mental disability and the criminal conduct such that he could not justly be held res