* Refactoring the activations functions into a common file * Apply style * remove unused import * fix tests * Fix tests.