-finally make median kernel selection work
-bugfixed (added a new constructor to SGMatrix)
-added a new test for median kernel selection