ok I am still learning unity and tried doing what you suggested with the following code
int a, b;
temp.GetTileAtPosition(transform.position, out a, out b);
Vector3 newposy = temp.GetTilePosition(a, b);
x = newposy.x;
y = newposy.y;
z = transform.position.z;
transform.position = new Vector3(x, y, z);
Unfortunately this does not seem to work at all..any ideas where we went wrong?