Fixed alignment function bug

Was not aligning on a 4 byte boundry (well it would be if we were
counting in bits).