Continuing the modularizing of functions in analise.py