fixed some doctests in manin_map
fixed some whitespace issues
fixed the weight inconsistency; fixes #8