-added c version of ordres
-marked loops with a comment
-added cuda available function to check before making any CUDA calls