fixed dense.py
Revert "fixed dense.py"

This reverts commit ab24a60c11ef6147a8098afeacb88ad1666015a2.
Revert "Revert "new fix for tensor.py""

This reverts commit fc13ff4e347fe03cf327abe64731c9db7e39df70.
geometry tests failed because of changes in numbers.py, changes reverted.