added mass slap script writen in python