Added power-of-2 functions (next, previous, and closest) to the main math header.