rename methods and simplifying code in tests.py
Small adjusts in environment.py and vetores.py