Made align_malloc more general. Made alignment boundaries and padding macros.