added normalize function and bugfix.
added crossplane function.