mean median mode with angular

build is failing because I started writing my client tests and they are a mess right now.  thanks.
this file would probably be better classified byu placing it in lib.