Added new getAddress algorithm...

sadly, it's slower and more code than the original.
reduced annoying test outputs