Added float module and fixed some bugs in int module