Implemented basic interest calculation