Fixed tapering rate. Added tests for tapering.