Proximity Effects In Ferromagnet/Superconductor Layered Heterostructures With Inhomogeneous Magnetization