Personalised Ambient Monitoring (PAM) of the mentally ill