Fixed some typos and a dimension that was probably wrong. This doesn't solve the issue with the boder_mode='full' because we still have other errors.