reorganize folders, other small changes
fix bugs in fixed point operations