change feature space

changed distance algorithm to calculate distance from union of training
and features--not just training (less test features not found in entire
training space)