added feature.go
moved feature code to feature.go and added a function to find predictor values