Zaslat SMS: Fundamentals of electrochemical deposition