Parametrized Deformed and General Neural Networks