documentation and little changes for start.alphamax.f function