Cleaned up calculateFeatureVector

Signed-off-by: Nicholas Kamper <kampernj@rose-hulman.edu>