Updated source code formatting to be similar to Google's R Style Guide. Not all operators have spaces around due to precedence. Function names are not capitalized.

Signed-off-by: David Tran <unsignedzero@gmail.com>