Design and Characterization of Carbon Nanomaterial-Based Electrodes for Use in Harsh Environments