bug fixes, add ability to do multiple normalization passes (default = 1), normalization tweaks