Cosine distance in mlutils

 * Added cosine distance to mlutils in addition to squared euclidean distance
 * Added tests for both distance measures

It may be useful to add a whole suite of distance measures similar to http://docs.scipy.org/doc/scipy/reference/spatial.distance.html