Analysis of tunneling magnetic force microscopy using a flexible triangular probe