Organized math dir and removed unecessary if-else for gamma in libm