Nonlinear phenomena and chaos in magnetic materials