If $$x^{2}-x+1=0$$ , then find the value of $\left ( x-\frac{1}{x} \right )^{2}+\displaystyle \sum_{a=1}^{2015} \left ( x^a+\frac{1}{x^a} \right )^{2}$