replaced several colt functions with core.matrix analogues
to-list fixed