Sanford man accused of killing mother was taking new medication before 'psychotic episode'