added set weights in matcaffe and modified init test to take only one argument
Merge branch 'weighted_eucloss' of github.com:cbfinn/caffe into weighted_eucloss