Riverview court master finds ME state hospital has failed to