The Optimization and Application of Behavioral Analysis on the Planarian Flatworm Schmidtea mediterranea