Altered c-style comments, changed the type of variable float to double