A Study Of The Light Curves Of M Type Variables