add new functions

add function imagePhaseShift
add function generateHayashiStim