Adds SphToRect function, updates doc file