- Added toString method for input
- Fixed similiarity to correctly calculate similiarity between features