fix gradients
add init method
add init method
rename file