fixed minor bug in constructor... a const GM & gm should be passed instead of GM &gm
minor changed in manipulator