added Length and SquaredLength, changed some config stuff