Update deepNetworkFunctions.py