Changing ifdefs to approved format, and documenting functions