In-plane magnetic anisotropy and coercive field dependence upon thickness of CoFeB