First iteration of scalarmult