Implemented base rates floors and caps.

Closes #80