Add phi calculatins for line objecets