fix a bug, where deg2rad() expects a double parameter, whereas a string is given
fix namespace