added NBALL_ and NSPHERE_ macros (LINEAR_DISTANCE), included in doc.odt, and refactored doc.odt from double to float