changed initialization constants to help with numerical stability