getChannel Rev

Changed getChannel function to simplify equation