Sample Rate change

modified method in which samples are taken; new method is more
responsive.