commented out threshold, blur, edge detection for testing. thetas are not in correct location?