Fixed str2float bug, added recursive reading