Adding phase shift code and testing ut_reconstr