Addeed clip function to force a max value for the vector
Renamed files to fix typo