Version function
Delete commented section, added precision option on functions