Finite depth and tank wall effects upon first and second-order forces