Cardica inks distribution deal in Japan, gets $4M loan