fixed endlines generated with ocamlc -i in cygwin
added function sqrt