Remove some code duplication.
Untabify/whitespace.
Don't have Tref be hardcoded to a double.
Removed antiquated svn:keywords part of header.
Untabify/whitespace.
Untabify/whitespace.
Rename to build_rate and make the function more
terse.
Style.