Rape accused released after mental observation