Removed print statments and simplified starting point calculation