not testing max and min for double (overflows!), using max and min /2 for now
Merge branch 'master' of github.com:mbarbos/Wolframe