consistent naming of R files
change function signature
minor documentation change
correct matrix dimension
correct type conversion
move warning/error functions to message.cpp
rename warning/error functions
make functinos static
add svds()
fix wrong dimension of matrix