fixed some of the magnitude computation work
auxiliary features are now added on correctly