Refactor of Acctivation functions and CostFunctions
 Propper name