Changed resource buffer to be as exact as possible on quantities. fixed decay bug and normalization compile error.