Genus computation of global function fields. (January 2015)