first version with voltage dependent source working (needs to be tested)