Linear Algebra over a Ring/Homomorphism and dual modules