Analysis of magnetic fields generated by conical coils